package com.junyidao.game.mapper;

import com.junyidao.game.pojo.SysUser;
import com.junyidao.game.pojo.TChannel;
import com.junyidao.game.pojo.TGroup;
import com.junyidao.game.util.MyMapper;
import com.junyidao.game.vo.TChannelVo;

import java.util.List;
import java.util.Map;

/**
 * TChannelMapper数据库操作接口类
 **/

public interface TChannelMapper extends MyMapper<TChannel> {

    List<TChannel> selectChannelBuUid(SysUser user);

    List<TChannel> selectChannelByChannel(TChannelVo channel);

    List<TChannel> selectChannel(TChannelVo channel);

    void activateChannel(Map<String, Object> map);

    void updatePartByPrimaryKey(TChannel channel);

    List<Integer> getUserIdsByChannelIds(Map<String, Object> map);

}